﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bonit_It.ViewModel.Base
{
    /// <summary>
    /// The Reultoperation
    /// </summary>
    public enum PersistOperation
    {
        /// <summary>
        /// Updated
        /// </summary>
        ObjectUpdated =1,
        
        /// <summary>
        /// created
        /// </summary>
        ObjectInserted = 2,

        /// <summary>
        /// Nothin happend
        /// </summary>
        None
    }

    /// <summary>
    /// A generic view interface
    /// </summary>
    public interface IView
    {
      
        /// <summary>
        /// Reload the Data
        /// </summary>
        void RefreshLookups();

    }
}
